package com.wy.ssm.mapper;

import com.wy.ssm.domain.Product;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: wy
 * @Date:2019/9/4 15:13
 */
public interface ProductMapper {
    /*查询所有信息*/

    /* @Select("select * from product")*/
      List<Product> findAll(String name) throws Exception;
       Product findById(String id) throws Exception;
       int save(Product product) throws Exception;
}
